package com.service.impl;

import java.util.List;

import com.dao.UrlDao;
import com.enetiy.Urls;
import com.enetiy.Urlsver;
import com.service.UrlService;

public class UrlServiceImpl implements UrlService {
	private UrlDao urlDao;
	  
	public List<Urlsver> sleUrlsList(int porstion,int aeraid,int isOk,int verid) throws Exception {
		 List<Urlsver> sleUrlsList = urlDao.sleUrlsList(porstion,aeraid,isOk,verid);
		return sleUrlsList;
	}
	
	public void setUrlDao(UrlDao urlDao) {
		this.urlDao = urlDao;
	}

	  
	public Urls sleUrlsId(int id) throws Exception {
		return urlDao.sleUrlsId(id);
	}

	  
	public void updateUrl(Urls u) throws Exception {
		urlDao.updateUrl(u);
	}

	  
	public void deleteUrl(Urls u) throws Exception {
		urlDao.deleteUrl(u);
	}

	  
	public void insertUrl(Urls u) throws Exception {
		urlDao.insertUrl(u);
	}
}
